package com.woniuxy.controller;




import com.woniuxy.entity.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @Todo: 处理401请求
 **/
@RestController
public class ErrorController {
    @RequestMapping("/401")
    public ResponseEntity Send401(){
        return new ResponseEntity(401,"token认证失败","");
    }
}
